package com.buka.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buka.domain.ResponseResult;
import com.buka.dto.UserDto;
import com.buka.pojo.User;

/**
* UserService
*/
public interface UserService extends IService<User> {

    /**
     * 个人信息查询
     */
    ResponseResult userInfo();

    /**
     * 更新个人信息
     */
    ResponseResult updateUserInfo(User user);

    /**
     * 用户注册
     */
    ResponseResult register(User user);

    ResponseResult list(int pageNum, int pageSize, String phonenumber, String status);

    ResponseResult add(UserDto userDto);

    ResponseResult get(int id);

    ResponseResult update(UserDto userDto);

    ResponseResult delete(int id);
}
